@echo off
for %%a in (*.txt) do (
   (echo @charset "utf-8";
    type "%%a"
   )>$
   move $ "%%a"
)
pause